package cn.merryyou.security.domain;

/**
 * @Author: [gitgeek]
 * @Date: [2018-08-02 08:50]
 * @Description: [ ]
 * @Version: [1.0.0]
 * @Copy: [com.zzg]
 */
public enum CodeEnum {
    OK(0, "成功"),
    OK_200(200, "成功"),
    ERROR(1, "失败");

    private Integer code;
    private String msg;
    
    CodeEnum(Integer code, String msg){
        this.code = code;
        this.setMsg(msg);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
